@echo off
rem ..\tesseract randcode.arial.1.tif randcode.arial.1 -l eng digitsandalphabets batch.nochop makebox

 ..\tesseract randcode.arial.1.tif randcode.arial.1 -l eng digitsandalphabets nobatch box.train
 ..\training\unicharset_extractor randcode.arial.1.box
 rename unicharset randcode.unicharset

 echo randcode.arial.1 0 0 0 0 0 > font.properties
 ..\training\mftraining -F font.properties -U unicharset -O randcode.unicharset randcode.arial.1.tr
 ..\training\cntraining randcode.arial.1.tr

 ..\wordlist2dawg frequent_words_list randcode.freq-dawg randcode.unicharset
 ..\wordlist2dawg words_list randcode.word-dawg randcode.unicharset

 rename inttemp randcode.inttemp
 rename pffmtable randcode.pffmtable
 rename Microfeat randcode.Microfeat
 rename normproto randcode.normproto

 ..\training\combine_tessdata randcode.
@echo .&pause
